//
//  RadioCollectionViewCell.m
//  LWB_Project
//
//  Created by lanou3g on 15/11/12.
//  Copyright © 2015年 wangjianliang. All rights reserved.
//

#import "RadioCollectionViewCell.h"
#import "UIImageView+WebCache.h"
@interface RadioCollectionViewCell ()
@property (strong, nonatomic) IBOutlet UIImageView *radioPictureImage;
@property (strong, nonatomic) IBOutlet UILabel *radioTitleLable;

@property (strong, nonatomic) IBOutlet UILabel *radioNameLable;

@end
@implementation RadioCollectionViewCell

-(void)setModel:(RadioModel *)model
{
    _model = model;
    [self.radioPictureImage sd_setImageWithURL:[NSURL URLWithString:model.mediumLogo]];
    self.radioTitleLable.text = model.nickname;
    self.radioNameLable.text = model.personDescribe;
    self.radioNameLable.numberOfLines = 0;
    [self.radioNameLable sizeToFit];
}

- (void)awakeFromNib {
    // Initialization code
}

@end
